package per.hx.bs.vo;

import org.springframework.web.multipart.MultipartFile;

/**
 * 更新个人图片
 *
 * @author HuXing
 * @date 2018/2/26  14:50
 */
public class MultipartFileVo {

    /**
     * 用户ID
     */
    Long userId;
    /**
     * 裁剪信息
     */
    String avatarData;
    /**
     * 图片
     */
    MultipartFile file;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getAvatarData() {
        return avatarData;
    }

    public void setAvatarData(String avatarData) {
        this.avatarData = avatarData;
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public MultipartFileVo(Long userId, String avatarData, MultipartFile file) {
        this.userId = userId;
        this.avatarData = avatarData;
        this.file = file;
    }
}
